package com.zust.zst.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * 操作枚举
 *
 * @author Gavin Zhang
 * @date 2022/11/23 14:39
 */
@Getter
@ToString
@AllArgsConstructor
public enum OperationStatus {

    /**
     * 0-插入失败
     */
    INSERT_FAILED(0, "插入失败"),
    /**
     * 0-更新失败
     */
    UPDATE_FAILED(0, "更新失败"),

    /**
     * 0-删除失败
     */
    DELETE_FAILED(0, "删除失败");

    private final Integer code;


    private final String description;
}
